package com.ruoyi.gas.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆号码信息对象 gas_car_num
 * 
 * @author morris
 * @date 2023-12-08
 */
public class GasCarNum extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆ID */
    private Long carId;

    /** 车辆编号 */
    @Excel(name = "车辆编号")
    private String carCode;

    /** 号码 */
    @Excel(name = "号码")
    private String carNum;

    /** 车号码类型 */
    @Excel(name = "车号码类型")
    private Integer carType;

    /** 所属经销商ID */
    @Excel(name = "所属经销商ID")
    private Long customerId;

    /** 所属经销商名 */
    @Excel(name = "所属经销商名")
    private String customerName;

    public void setCarId(Long carId) 
    {
        this.carId = carId;
    }

    public Long getCarId() 
    {
        return carId;
    }
    public void setCarCode(String carCode) 
    {
        this.carCode = carCode;
    }

    public String getCarCode() 
    {
        return carCode;
    }
    public void setCarNum(String carNum) 
    {
        this.carNum = carNum;
    }

    public String getCarNum() 
    {
        return carNum;
    }
    public void setCarType(Integer carType) 
    {
        this.carType = carType;
    }

    public Integer getCarType() 
    {
        return carType;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carId", getCarId())
            .append("carCode", getCarCode())
            .append("carNum", getCarNum())
            .append("carType", getCarType())
            .append("customerId", getCustomerId())
            .append("customerName", getCustomerName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
